﻿#region zh-CHS 2006 - 2007 DemoSoft 团队 | en 2006 - 2007 DemoSoft Team

//     NOTES
// ---------------
//
// This file is a part of the G.O.S.E(Game Online Server Engine) for .NET.
//
//                 2006-2007 DemoSoft Team
//
//
// First Version : by H.Q.Cai - mailto:caihuanqing@hotmail.com

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU Lesser General Public License as published
 *   by the Free Software Foundation; either version 2.1 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

#region zh-CHS 包含名字空间 | en Include namespace
using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;
#endregion

namespace Demo_G.O.S.E.ServerEngine.Ability.Skill
{
    #region zh-CHS 共有的事件数据类 | en Public EventArgs Class
    /// <summary>
    /// BaseSkillManager的事件数据类
    /// </summary>
    public class BaseSkillManagerEventArgs : EventArgs
    {
        #region zh-CHS 构造和初始化和清理 | en Constructors and Initializers and Dispose
        /// <summary>
        /// 初始化构造
        /// </summary>
        /// <param name="baseCreature"></param>
        public BaseSkillManagerEventArgs( BaseSkillManager BaseSkillManager )
        {
            m_BaseSkillManager = BaseSkillManager;
        }
        #endregion

        #region zh-CHS 共有属性 | en Public Properties
        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// BaseWorld的数据
        /// </summary>
        private BaseSkillManager m_BaseSkillManager = null;
        #endregion
        /// <summary>
        /// BaseWorld实例
        /// </summary>
        public BaseSkillManager SkillManager
        {
            get { return m_BaseSkillManager; }
        }
        #endregion
    }

    /// <summary>
    /// BaseSkillManager的事件数据类
    /// </summary>
    public class BeforeAddSkillCallEventArgs : BaseSkillManagerEventArgs
    {
        #region zh-CHS 构造和初始化和清理 | en Constructors and Initializers and Dispose
        /// <summary>
        /// 初始化构造
        /// </summary>
        /// <param name="baseCreature"></param>
        public BeforeAddSkillCallEventArgs( BaseSkill baseSkill, BaseSkillManager BaseSkillManager ) :
            base( BaseSkillManager )
        {
            m_AddBaseSkill = baseSkill;
        }
        #endregion

        #region zh-CHS 共有属性 | en Public Properties
        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private BaseSkill m_AddBaseSkill = null;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public BaseSkill AddSkill
        {
            get { return m_AddBaseSkill; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_IsCancel = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsCancel
        {
            get { return m_IsCancel; }
            set { m_IsCancel = value; }
        }
        #endregion
    }

    /// <summary>
    /// BaseSkillManager的事件数据类
    /// </summary>
    public class AfterAddSkillCallEventArgs : BaseSkillManagerEventArgs
    {
        #region zh-CHS 构造和初始化和清理 | en Constructors and Initializers and Dispose
        /// <summary>
        /// 初始化构造
        /// </summary>
        /// <param name="baseCreature"></param>
        public AfterAddSkillCallEventArgs( BaseSkill baseSkill, BaseSkillManager BaseSkillManager ) :
            base( BaseSkillManager )
        {
            m_AddBaseSkill = baseSkill;
        }
        #endregion

        #region zh-CHS 共有属性 | en Public Properties
        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private BaseSkill m_AddBaseSkill = null;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public BaseSkill AddSkill
        {
            get { return m_AddBaseSkill; }
        }
        #endregion
    }

    /// <summary>
    /// BaseSkillManager的事件数据类
    /// </summary>
    public class BeforeRemoveSkillCallEventArgs : BaseSkillManagerEventArgs
    {
        #region zh-CHS 构造和初始化和清理 | en Constructors and Initializers and Dispose
        /// <summary>
        /// 初始化构造
        /// </summary>
        /// <param name="baseCreature"></param>
        public BeforeRemoveSkillCallEventArgs( BaseSkill baseSkill, BaseSkillManager BaseSkillManager ) :
            base( BaseSkillManager )
        {
            m_RemoveBaseSkill = baseSkill;
        }
        #endregion

        #region zh-CHS 共有属性 | en Public Properties
        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private BaseSkill m_RemoveBaseSkill = null;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public BaseSkill RemoveSkill
        {
            get { return m_RemoveBaseSkill; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_IsCancel = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsCancel
        {
            get { return m_IsCancel; }
            set { m_IsCancel = value; }
        }
        #endregion
    }

    /// <summary>
    /// BaseSkillManager的事件数据类
    /// </summary>
    public class AfterRemoveSkillCallEventArgs : BaseSkillManagerEventArgs
    {
        #region zh-CHS 构造和初始化和清理 | en Constructors and Initializers and Dispose
        /// <summary>
        /// 初始化构造
        /// </summary>
        /// <param name="baseCreature"></param>
        public AfterRemoveSkillCallEventArgs( BaseSkill baseSkill, BaseSkillManager BaseSkillManager ) :
            base( BaseSkillManager )
        {
            m_RemoveBaseSkill = baseSkill;
        }
        #endregion

        #region zh-CHS 共有属性 | en Public Properties
        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private BaseSkill m_RemoveBaseSkill = null;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public BaseSkill RemoveSkill
        {
            get { return m_RemoveBaseSkill; }
        }
        #endregion
    }
    #endregion
}
#endregion